package com.qfmy.webapp.mapper.common;

import com.qfmy.model.entity.common.Announcement;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 清风明月
 * @Package com.qfmy.web.app.mapper.common
 * @date 2025/11/26
 * @description 公告
 */
@Mapper
@SuppressWarnings("all")
public interface AnnouncementMapper {

    /**
     * 根据类型获取公告
     * @param type
     * @return
     */
    List<Announcement> getAnnouncementByType(Integer type);
}
